<?php
/**
 * Created by PhpStorm.
 * User: u
 * Date: 2019/3/28
 * Time: 20:00
 */
namespace common\sources\read\valueserviceprohibit;

use common\models\craftsman\ValueServiceProhibit;

class ValueServiceProhibitAccess implements IValueServiceProhibitAccess
{
   public function getValueServiceProhibit($value_service_id)
   {
       return ValueServiceProhibit::find()
                ->select("id,pro_name,pro_code,city_name,city_code")
                ->where(['value_service_id' => $value_service_id])
                ->asArray()
                ->all();
   }
}